package com.joinlabs.service;

import java.util.List;

import com.joinlabs.entity.Topic;

public interface ITopicService {
	/**
     * 查询最近的热门话题
     * @return
     */
    List<Topic> selectRecentTopic();
    /**
      * 插入一条话题
     * @param topic
     * @return
     */
    int insertSelective(Topic topic);
    
    //查询所有话题
    List<Topic> selectAllTopic();
    
    /**
     * 模糊查询话题
     * @param topicName
     * @return
     */
    List<Topic> selectSometopic(String topicName);
    
    List<Topic> selectDescTopic();
}
